package com.craftplay.model;

import java.util.Date;

public class Enroll extends Join{

    private int id;
    private int unitId;
    private int ownerId;
    private int actorId;
    private String descrip;
    private int status;
    private Date createdTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUnitId() {
        return unitId;
    }

    public void setUnitId(int unitId) {
        this.unitId = unitId;
    }

    public int getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(int ownerId) {
        this.ownerId = ownerId;
    }

    public int getActorId() {
        return actorId;
    }

    public void setActorId(int actorId) {
        this.actorId = actorId;
    }

    public String getDescrip() {
        return descrip;
    }

    public void setDescrip(String descrip) {
        this.descrip = descrip;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    @Override
    public String toString() {
        return "Enroll{" +
                "id=" + id +
                ", unitId=" + unitId +
                ", ownerId=" + ownerId +
                ", actorId=" + actorId +
                ", descrip='" + descrip + '\'' +
                ", status=" + status +
                ", createdTime=" + createdTime +
                '}';
    }
}
